package com.jzcn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jzcn.common.dto.enterprise.EnterpriseUserDTO;
import com.jzcn.common.dto.enterprise.SearchEnterpriseUserDTO;
import com.jzcn.common.dto.log.SearchLoginLogDTO;
import com.jzcn.domain.EntEmployee;
import com.jzcn.domain.SysFile;
import com.jzcn.domain.SysLoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-02-12
 */
public interface EntEmployeeMapper extends BaseMapper<EntEmployee> {

    IPage<EntEmployee> findPage(IPage<?> page, @Param("query") SearchEnterpriseUserDTO query);

    List<EnterpriseUserDTO> findIdsList(@Param("ids") List<Integer> ids);

}
